import sys

f = open('13.in', 'r')

s = 0

for line in f:
    s += int(line)

s = str(s)

print s[:10]

